package com.ebeijia.service.admin.impl;

import com.ebeijia.mybatis.mapper.BillInfoMapper;
import com.ebeijia.mybatis.pojo.BillInfo;
import com.ebeijia.service.admin.BillInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by YPJ on 2016/6/12.
 */
@Service
public class BillInfoServiceImpl implements BillInfoService {
    @Resource
    private BillInfoMapper billInfoMapper;

    @Override
    public int insertBillInfo(BillInfo billInfo) {
        return billInfoMapper.insertSelective(billInfo);
    }

    @Override
    public List<BillInfo> selectNotPush() {
        return billInfoMapper.selectNotPush();
    }
}
